package com.yuyang.wifi.views;

import java.util.Random;

/**
 * created by mej
 * on 2021/3/18
 */
public class RandomNumUtils {

    // 通过对象方法获取随机数
    public static int getRandomNum() {
        Random r = new Random();
        int num = r.nextInt(2);
        return num;
    }
}
